define(function(require, exports, module) {

	var $ = require('jquery');
	var List = require('../util/list');
	require('artTemplate/artTemplate/2.0.1/template.js');
	require('seajs/seajs/2.1.1/sea.js');

	exports.options = {
		listLink : '',
		listParams : '',
		pageLink : '',
		pageParams : ''
	};

	exports.showProjcetList = function showProjcetList(e,t) {
		var projectList = new List();
		projectList.options.template = t;
		projectList.options.container = "#projectList";
		projectList.options.links = { "list" : $CONFIG.base_url + "/api/project/list" };
		projectList.options.params = {"status" : e,"s":10};
		projectList.load();
	};
	$(document).ready(function(data) {
		exports.showProjcetList("1",'ys-project-template');

	});
	$("#ys_project").click(function() {
		exports.showProjcetList("1",'ys-project-template');
	});
//	$("#zc_project").click(function() {
//		exports.showProjcetList("3",'ys-project-template');
//	});
//	$("#zxz_project").click(function() {
//		exports.showProjcetList("4",'ys-project-template');
//	});
	$("#wj_project").click(function() {
		exports.showProjcetList("5",'ys-project-template');
	});
	$("#sb_project").click(function() {
		exports.showProjcetList("6",'ys-project-template');
	});

});